use actix_web::web;

use crate::handlers::{stocks::stocks_scope, ws::ws_route};

pub fn init_routes(cfg: &mut web::ServiceConfig) {
    cfg.service(stocks_scope())
        .route("/ws", web::get().to(ws_route));
}